package com.hzeport.bgs22emduty.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.entity.ParamScheduleSetting;
import com.hzeport.bgs22emduty.vo.ParamDuty.DutyTimeVO;
import com.hzeport.bgs22emduty.vo.ParamScheduleSetting.ParamScheduleSettingVO;
import com.hzeport.bgs22emduty.vo.base.PageVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import com.hzeport.bgs22emduty.common.base.BaseService;

import java.util.List;

public interface ParamScheduleSettingService extends BaseService<ParamScheduleSetting> {
    BaseResult<List<DutyTimeVO>> getDutyTime(UserInfoDetailVO userInfo);

    BaseResult<Page<ParamScheduleSetting>> getPage(UserInfoDetailVO userInfo, PageVO pageVO);

    BaseResult<String> save(UserInfoDetailVO userInfo, ParamScheduleSettingVO paramScheduleSettingVO);

    BaseResult<List<String>> getDutyTimeIds(UserInfoDetailVO userInfo, String id);
}
